<include file="Public:header" />
<!-- main content start-->
<div class="main-content" >

<!-- header section start-->
<div class="header-section">

    <!--toggle button start-->
    <a class="toggle-btn"><i class="fa fa-bars"></i></a>
    <!--toggle button end-->
    <!--notification menu start -->
    <div class="menu-right">
        <ul class="notification-menu">
            <li>
                <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <img src="__IMG__/photos/user-avatar.png" alt="" />
                    {$shopname}
                    <span class="caret"></span>
                </a>
                <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
                    <li><a href="{:U('Shopadmin/Login/info')}"><i class="fa fa-user"></i>  个人信息</a></li>
                    <li><a href="{:U('Shopadmin/Login/changePwd')}"><i class="fa fa-cog"></i>  修改密码</a></li>
                    <li><a href="{:U('Shopadmin/Login/logout')}"><i class="fa fa-cog"></i>  退出登录</a></li>
                </ul>
            </li>

        </ul>
    </div>
    <!--notification menu end -->

</div>
<!-- header section end-->
<!-- page heading start-->
<div class="page-heading">
    <h3>
        管理员管理
    </h3>
    <ul class="breadcrumb">
        <li>
            <a href="#">首页</a>
        </li>
        <li> 管理员管理 </li>
        <li class="active"> 查看管理员信息 </li>
    </ul>
</div>
<!-- page heading end-->
<!--body wrapper start-->
<div class="wrapper">
    <section class="panel">
        <header class="panel-heading">
            管理员信息
        </header>
        <div class="directory-info-row">
            <div class="row">
                <div class="col-md-6 col-sm-6" style="width: 80%;">
                    <div class="panel">
                        <div class="panel-body">
                            <h4>{$info.shopname} <span class="text-muted small"> - {$info.account}</span></h4>
                            <div class="media">
                                <a class="pull-left" href="#">
                                    <img class="thumb media-object" src="{$info.logo}" onerror="this.src='__IMG__/cat.png'" alt="" width="100">
                                </a>
                                <style type="text/css">
                                    .left_title{

                                        font-size: 15px;
                                        line-height: 40px;
                                        width:10%;
                                    }
                                    .right_content{
                                        color: orange;
                                    }
                                </style>
                                <div class="media-body">
                                    <div class="form-group" style="line-height: 30px;padding:20px;">
                                        <div style="border-bottom:1px dashed #ccc; ">
                                            <label class="left_title">账号：</label>
                                            <span class="right_content">{$info.account}</span>
                                        </div>
                                        <div style="border-bottom:1px dashed #ccc; ">
                                        <label class="left_title">商户名称：</label>
                                        <span class="right_content">{$info.shopname}</span></div>
                                        <div style="border-bottom:1px dashed #ccc; ">
                                            <label class="left_title">行业类型：</label>
                                            <span class="right_content">{$info.trade}</span>
                                        </div>
                                        <div style="border-bottom:1px dashed #ccc; ">
                                            <label class="left_title">联系人：</label>
                                            <span class="right_content">{$info.linker}</span>
                                        </div>
                                        <div style="border-bottom:1px dashed #ccc; ">
                                            <label class="left_title">电话：</label>
                                            <span class="right_content">{$info.phone}</span>
                                        </div>
                                        <div style="border-bottom:1px dashed #ccc; ">
                                            <label class="left_title">有效期：</label>
                                            <span class="right_content">
                                                <empty name="vo.end_time">
                                                    -
                                                    <else/>
                                                    {$vo.end_time|date="Y-m-d H:i:s",###}
                                                </empty>
                                            </span>
                                        </div>
                                        <div style="border-bottom:1px dashed #ccc; ">
                                            <label class="left_title">地址：</label>
                                            <span class="right_content">{$info.province}/{$info.city}/{$info.area}-{$info.address}</span>
                                        </div>
                                        <div style="border-bottom:1px dashed #ccc; ">
                                            <label class="left_title">描述：</label>
                                            <span class="right_content">{$info.info}</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-lg-offset-2 col-md-6 col-sm-6">
                            <button type="button" class="btn btn-primary" onclick="history.go(-1)">返回</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>
<!--body wrapper end-->
<!-- main content end-->
    <script>
        function checkout(){
            if($("#name").val()==""){
                toast("名字不得为空",false);
                return false;
            }
            if($("#phone").val()==""){
                toast("手机号码不得为空",false);
                return false;
            }
            return true;
        }
    </script>
<include file="Public:footer" />